package com.qding.park.common.core.exceptions;

public enum ModularEnum {
	/******顶层**************/
	MODULAR_VALIDATOR("000","字段验证"),
	MODULAR_MANAGER("001","MANAGER层"),
	MODULAR_ADAPTER("002","适配层"),
	MODULAR_SYSTEM("003","系统层"),
	MODULAR_FRAME("004","框架层"),
	MODULAR_PAYMENT("005","第三方支付"),
	MODULAR_AUTH("006","权限验验证"),
	/********************/
	
	
	/*************MANAGER层*******************/
	MODULAR_MANAGER_CONTROLLER(MODULAR_MANAGER.getId()+".001","MANAGER层---CONTROLLER 前台控制器层"),
	MODULAR_MANAGER_SERVICE(MODULAR_MANAGER.getId()+".002","MANAGER层---SERVICE服务层"),
	MODULAR_MANAGER_ADAPTERFACTORY(MODULAR_MANAGER.getId()+".003","adapter 代理工厂层---用于创建adapter接口对象"),
	
	/***********MANAGER层*********************/
	
	/***********框架层*******************/
	MODULAR_FRAME_CACHE(MODULAR_FRAME.getId()+".001","缓存框架异常"),
	/***********框架层*******************/
	
	MODULAR_MANAGER_SERVICE_CORE(MODULAR_MANAGER_SERVICE.getId() +".001","MANAGER层---SERVICE服务层--core子服务");
	
	
	private String id;
	
	private String desc;
	
	
	private ModularEnum(String id,String desc){
		this.id=id;
		this.desc=desc;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getDesc() {
		return desc;
	}


	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	
	
}
